<!--   
Persistent Digital Archives and Library System (PeDALS) 
(c) 2008 - All Rights Reserved
//-->
<?php
include 'includes/config.php'; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Persistent Digital Archives and Library System" />
    <title>PeDALS: AIP Manifest</title>
</head>
<body>
<p>LOCKSS system has permission to collect, preserve, and serve this Archival Unit</p>

<?php
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
    if ($dh = opendir($dir)) {
        while (($file = readdir($dh)) !== false) {
		 	if ($file != "." && $file != ".." && $file != "Thumbs.db" && $file != "web.config") {
			  	$filenameArray = explode("-",$file);
				echo "Provenance ID: $filenameArray[1], Series ID: $filenameArray[0], Acquisition Ingest ID: $filenameArray[2] <br/>";
				echo "<a href=\"";				
				echo "$superpackagesURL";
				echo "$file";
				echo "\">";
				echo "$file";
				echo "</a>";
				echo "<br/><br/>";
			}
        }
        closedir($dh);
    }
}
?>

</body>
</html>